﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AdminHome.aspx.cs" Inherits="AdminPages_AdminHome" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DropDownList ID="ddl_Movie" runat="server" DataSourceID="SqlDataSource1" 
        DataTextField="Title" DataValueField="MovieID">
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DatabaseConnectionString %>" 
        SelectCommand="SELECT [MovieID], [Title] FROM [Movie]"></asp:SqlDataSource>
    <asp:Button ID="btn_SetMovieOfTheWeek" runat="server" 
        Text="Set Movie of the Week" onclick="btn_SetMovieOfTheWeek_Click" />
    <br />
    <br /><ul>
    <li>
    <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl="~/AdminPages/AdminHome.aspx">Admin Home</asp:HyperLink>
    </li>
    <li>
    <asp:HyperLink ID="HyperLink2" runat="server" 
            NavigateUrl="~/AdminPages/AddDVD.aspx">Add DVD</asp:HyperLink>
    </li>
        <li>
    <asp:HyperLink ID="HyperLink3" runat="server" 
            NavigateUrl="~/AdminPages/AddMovie.aspx">Add Movie</asp:HyperLink>
    </li>
        <li>
    <asp:HyperLink ID="HyperLink4" runat="server" 
            NavigateUrl="~/AdminPages/Message.aspx">Message</asp:HyperLink>
    </li>
        <li>
    <asp:HyperLink ID="HyperLink5" runat="server" 
            NavigateUrl="~/AdminPages/RegisterDispatch.aspx">Register Dispatch</asp:HyperLink>
    </li>
        <li>
    <asp:HyperLink ID="HyperLink6" runat="server" 
            NavigateUrl="~/AdminPages/RegisterReturn.aspx">Register Return</asp:HyperLink>
    </li>
        <li>
    <asp:HyperLink ID="HyperLink7" runat="server" 
            NavigateUrl="~/AdminPages/SuspendRemoveUser.aspx">Suspend and Remove User</asp:HyperLink>
    </li>
        <li>
    <asp:HyperLink ID="HyperLink8" runat="server" 
            NavigateUrl="~/AdminPages/ViewFlaggedComments.aspx">View Flagged Comments</asp:HyperLink>
    </li>
            <li>
    <asp:HyperLink ID="HyperLink9" runat="server" 
            NavigateUrl="~/AdminPages/SetAvailabilityDate.aspx">Set Availability Date</asp:HyperLink>
    </li>
    </ul>
</asp:Content>

